<?php
namespace app\apps\controller;
use think\Controller;
use think\Request;
use think\Session;

class Common extends Controller
{
    public function _initialize()
    {
        parent::_initialize();
    }

    public function isLogin()
    {
        defined('PLACE_ID', Session::get('place_id'));

        if(empty(PLACE_ID)){
            $this->redirect("{:url('api/login')}");
        }

    }




}
